package com.hns.can.master.entity;

import com.hns.can.common.entity.BaseEntity;
import com.hns.tool.pub.PubUtil;

import javax.persistence.*;
import java.math.BigDecimal;
import java.util.Date;


/**
 * @版权：HNS 版权所有 (c) 2013
 * @author:JeffXu
 * @version Revision 1.0.0
 * @email:835264047@qq.com
 * @see:
 * @创建日期：2014-12-3
 * @功能说明：
 * @begin
 * @修改记录:
 * @修改后版本          修改人      	修改内容
 * @2014-12-3  	         JeffXu        	创建
 * @end
 */
@SuppressWarnings("serial")
@Entity
@Table(name = "T_COMM_ELT_MHY_OPRT_TY")
public class CommEltMhyOprtTyEntity extends BaseEntity{
    
    @Id
    @Column(name = "RCRD_ID")
    private String             rcrdId;
    @Column(name = "CORP_ID")
    private String             corpId;
    @Column(name = "ORGAN_ID")
    private String             organId;
    @Column(name = "LINE_ID")
    private String             lineId;
    @Column(name = "CAR_ID")
    private String             carId;
    @Column(name = "RCRD_TIME")
    private String             rcrdTime;
    @Column(name = "RCRD_JRNL_NO")
    private String             rcrdJrnlNo;
    @Column(name = "EQMT_CODE")
    private String             eqmtCode;
    @Column(name = "LIC_PLT_NO")
    private String             licPltNo;
    @Column(name = "LINE_CODE")
    private String             lineCode;
    @Column(name = "CAR_TYPE")
    private String             carType;
    @Column(name = "LO_LGT")
    private BigDecimal         loLgt;
    @Column(name = "LO_LTT")
    private BigDecimal         loLtt;
    @Column(name = "LO_DRC")
    private BigDecimal         loDrc;
    @Column(name = "GEN_TIME")
    private Date               genTime;
    @Column(name = "IGNI_SWTC")
    private String             igniSwtc;
    @Column(name = "TOTAL_MILE")
    private BigDecimal         totalMile;
    @Column(name = "ELT_MHY_CTRL_BASIC_ST")
    private String             eltMhyCtrlBasicSt;
    @Column(name = "HEARTBEAT_SIGNAL")
    private BigDecimal         heartbeatSignal;
    @Column(name = "ELT_MHY_ACTUAL_TORQUE")
    private BigDecimal         eltMhyActualTorque;
    @Column(name = "ELT_MHY_ACTUAL_RTTE_SPD")
    private BigDecimal         eltMhyActualRtteSpd;
    @Column(name = "SPD_OF_MOT_VHI")
    private BigDecimal         spdOfMotVhi;
    @Column(name = "GEARS")
    private String             gears;
    @Column(name = "ELT_MHY_CTRL_BUSBAR_VTG")
    private BigDecimal         eltMhyCtrlBusbarVtg;
    @Column(name = "ELT_MHY_CTRL_BUSBAR_ELT_CRT")
    private BigDecimal         eltMhyCtrlBusbarEltCrt;
    @Column(name = "ELT_MHY_CTRL_TEPT")
    private BigDecimal         eltMhyCtrlTept;
    @Column(name = "ELT_MHY_TEPT")
    private BigDecimal         eltMhyTept;
    @Column(name = "DMC_VRSN_NO")
    private String             dmcVrsnNo;
    @Column(name = "RESERVED_FIELD_1")
    private BigDecimal         reservedField1;
    @Column(name = "RESERVED_FIELD_2")
    private BigDecimal         reservedField2;
    @Column(name = "RESERVED_FIELD_3")
    private BigDecimal         reservedField3;
    @Column(name = "RESERVED_FIELD_4")
    private BigDecimal         reservedField4;
    @Column(name = "RESERVED_FIELD_5")
    private String             reservedField5;
    @Column(name = "RESERVED_FIELD_6")
    private String             reservedField6;
    @Column(name = "RESERVED_FIELD_7")
    private String             reservedField7;
    @Column(name = "RESERVED_FIELD_8")
    private String             reservedField8;
    @Column(name = "IVTE_TEPT")
    private BigDecimal             ivteTept;
    @Column(name = "HYBRID_READY_ST")
    private String             hybridReadySt;
    @Column(name = "ELT_MHY_CTRL_MFT_CODE")
    private BigDecimal eltMhyCtrlMftCode;
    
    @Column(name = "ELT_MHY_OPRT_TOTAL_TIME")
    private BigDecimal eltMhyOprtTotalTime;
    
    @Column(name = "ELT_MHY_CTRL_PRE_END_VTG")
    private BigDecimal eltMhyCtrlPreEndVtg;
    
    @Column(name = "ELT_MHY_CTRL_LAST_END_VTG")
    private BigDecimal eltMhyCtrlLastEndVtg;
    
    @Column(name = "GPS_SPD_OF_MOT_VHI")
    private BigDecimal gpsSpdOfMotVhi;
    
    @Column(name = "ELT_MHY_DC_VTG")
    private BigDecimal eltMhyDcVtg;
    
    @Column(name = "ELT_MHY_ELT_CRT")
    private BigDecimal eltMhyEltCrt;
    
    @Column(name = "ELT_MHY_VTG")
    private BigDecimal eltMhyVtg;
    
    public BigDecimal getEltMhyOprtTotalTime() {
		return eltMhyOprtTotalTime;
	}

	public void setEltMhyOprtTotalTime(BigDecimal eltMhyOprtTotalTime) {
		this.eltMhyOprtTotalTime = eltMhyOprtTotalTime;
	}

	public BigDecimal getEltMhyCtrlPreEndVtg() {
		return eltMhyCtrlPreEndVtg;
	}

	public void setEltMhyCtrlPreEndVtg(BigDecimal eltMhyCtrlPreEndVtg) {
		this.eltMhyCtrlPreEndVtg = eltMhyCtrlPreEndVtg;
	}

	public BigDecimal getEltMhyCtrlLastEndVtg() {
		return eltMhyCtrlLastEndVtg;
	}

	public void setEltMhyCtrlLastEndVtg(BigDecimal eltMhyCtrlLastEndVtg) {
		this.eltMhyCtrlLastEndVtg = eltMhyCtrlLastEndVtg;
	}

	@Transient
    private String             lineName;
    @Transient
    private String             organName;
    @Transient
    private String             eltMhyNo;
    
    
    // -------------------------------------
    public static final String TABLENAME = "T_COMM_ELT_MHY_OPRT_TY";
    
    // -------------------------------------
    @Override
    public boolean equals(Object obj) {
        if (this == obj)
            return true;
        if (obj == null)
            return false;
        if (getClass() != obj.getClass())
            return false;
        
        CommEltMhyOprtTyEntity other = (CommEltMhyOprtTyEntity) obj;
        
        if ((PubUtil.isEmpty(this.corpId) && PubUtil.isNotEmpty(other.corpId)) || !this.corpId.equals(other.corpId)) {
            return false;
        }
        
        if ((PubUtil.isEmpty(this.eqmtCode) && PubUtil.isNotEmpty(other.eqmtCode)) || !this.eqmtCode.equals(other.eqmtCode)) {
            return false;
        }
        
        if ((PubUtil.isEmpty(this.rcrdTime) && PubUtil.isNotEmpty(other.rcrdTime)) || !this.rcrdTime.equals(other.rcrdTime)) {
            return false;
        }
        
        return true;
    }
    
    public CommEltMhyOprtTyEntity() {
    }
    
    public String getRcrdId() {
        return this.rcrdId;
    }
    
    public void setRcrdId(String rcrdId) {
        this.rcrdId = rcrdId;
    }
    
    public String getCorpId() {
        return this.corpId;
    }
    
    public void setCorpId(String corpId) {
        this.corpId = corpId;
    }
    
    public String getOrganId() {
        return this.organId;
    }
    
    public void setOrganId(String organId) {
        this.organId = organId;
    }
    
    public String getLineId() {
        return this.lineId;
    }
    
    public void setLineId(String lineId) {
        this.lineId = lineId;
    }
    
    public String getCarId() {
        return this.carId;
    }
    
    public void setCarId(String carId) {
        this.carId = carId;
    }
    
    public String getRcrdTime() {
        return this.rcrdTime;
    }
    
    public void setRcrdTime(String rcrdTime) {
        this.rcrdTime = rcrdTime;
    }
    
    public String getRcrdJrnlNo() {
        return this.rcrdJrnlNo;
    }
    
    public void setRcrdJrnlNo(String rcrdJrnlNo) {
        this.rcrdJrnlNo = rcrdJrnlNo;
    }
    
    public String getEqmtCode() {
        return this.eqmtCode;
    }
    
    public void setEqmtCode(String eqmtCode) {
        this.eqmtCode = eqmtCode;
    }
    
    public String getLicPltNo() {
        return this.licPltNo;
    }
    
    public void setLicPltNo(String licPltNo) {
        this.licPltNo = licPltNo;
    }
    
    public String getLineCode() {
        return this.lineCode;
    }
    
    public void setLineCode(String lineCode) {
        this.lineCode = lineCode;
    }
    
    public String getCarType() {
        return this.carType;
    }
    
    public void setCarType(String carType) {
        this.carType = carType;
    }
    
    public BigDecimal getLoLgt() {
        return this.loLgt;
    }
    
    public void setLoLgt(BigDecimal loLgt) {
        this.loLgt = loLgt;
    }
    
    public BigDecimal getLoLtt() {
        return this.loLtt;
    }
    
    public void setLoLtt(BigDecimal loLtt) {
        this.loLtt = loLtt;
    }
    
    public BigDecimal getLoDrc() {
        return this.loDrc;
    }
    
    public void setLoDrc(BigDecimal loDrc) {
        this.loDrc = loDrc;
    }
    
    public Date getGenTime() {
        return this.genTime;
    }
    
    public void setGenTime(Date genTime) {
        this.genTime = genTime;
    }
    
    public String getIgniSwtc() {
        return this.igniSwtc;
    }
    
    public void setIgniSwtc(String igniSwtc) {
        this.igniSwtc = igniSwtc;
    }
    
    public BigDecimal getTotalMile() {
        return this.totalMile;
    }
    
    public void setTotalMile(BigDecimal totalMile) {
        this.totalMile = totalMile;
    }
    
    public String getEltMhyCtrlBasicSt() {
        return this.eltMhyCtrlBasicSt;
    }
    
    public void setEltMhyCtrlBasicSt(String eltMhyCtrlBasicSt) {
        this.eltMhyCtrlBasicSt = eltMhyCtrlBasicSt;
    }
    
    public BigDecimal getHeartbeatSignal() {
        return this.heartbeatSignal;
    }
    
    public void setHeartbeatSignal(BigDecimal heartbeatSignal) {
        this.heartbeatSignal = heartbeatSignal;
    }
    
    public BigDecimal getEltMhyActualTorque() {
        return this.eltMhyActualTorque;
    }
    
    public void setEltMhyActualTorque(BigDecimal eltMhyActualTorque) {
        this.eltMhyActualTorque = eltMhyActualTorque;
    }
    
    public BigDecimal getEltMhyActualRtteSpd() {
        return this.eltMhyActualRtteSpd;
    }
    
    public void setEltMhyActualRtteSpd(BigDecimal eltMhyActualRtteSpd) {
        this.eltMhyActualRtteSpd = eltMhyActualRtteSpd;
    }
    
    public BigDecimal getSpdOfMotVhi() {
        return this.spdOfMotVhi;
    }
    
    public void setSpdOfMotVhi(BigDecimal spdOfMotVhi) {
        this.spdOfMotVhi = spdOfMotVhi;
    }
    
    public String getGears() {
        return this.gears;
    }
    
    public void setGears(String gears) {
        this.gears = gears;
    }
    
    public BigDecimal getEltMhyCtrlBusbarVtg() {
        return this.eltMhyCtrlBusbarVtg;
    }
    
    public void setEltMhyCtrlBusbarVtg(BigDecimal eltMhyCtrlBusbarVtg) {
        this.eltMhyCtrlBusbarVtg = eltMhyCtrlBusbarVtg;
    }
    
    public BigDecimal getEltMhyCtrlBusbarEltCrt() {
        return this.eltMhyCtrlBusbarEltCrt;
    }
    
    public void setEltMhyCtrlBusbarEltCrt(BigDecimal eltMhyCtrlBusbarEltCrt) {
        this.eltMhyCtrlBusbarEltCrt = eltMhyCtrlBusbarEltCrt;
    }
    
    public BigDecimal getEltMhyCtrlTept() {
        return this.eltMhyCtrlTept;
    }
    
    public void setEltMhyCtrlTept(BigDecimal eltMhyCtrlTept) {
        this.eltMhyCtrlTept = eltMhyCtrlTept;
    }
    
    public BigDecimal getEltMhyTept() {
        return this.eltMhyTept;
    }
    
    public void setEltMhyTept(BigDecimal eltMhyTept) {
        this.eltMhyTept = eltMhyTept;
    }
    
    public String getDmcVrsnNo() {
        return this.dmcVrsnNo;
    }
    
    public void setDmcVrsnNo(String dmcVrsnNo) {
        this.dmcVrsnNo = dmcVrsnNo;
    }
    
    public BigDecimal getReservedField1() {
        return this.reservedField1;
    }
    
    public void setReservedField1(BigDecimal reservedField1) {
        this.reservedField1 = reservedField1;
    }
    
    public BigDecimal getReservedField2() {
        return this.reservedField2;
    }
    
    public void setReservedField2(BigDecimal reservedField2) {
        this.reservedField2 = reservedField2;
    }
    
    public BigDecimal getReservedField3() {
        return this.reservedField3;
    }
    
    public void setReservedField3(BigDecimal reservedField3) {
        this.reservedField3 = reservedField3;
    }
    
    public BigDecimal getReservedField4() {
        return this.reservedField4;
    }
    
    public void setReservedField4(BigDecimal reservedField4) {
        this.reservedField4 = reservedField4;
    }
    
    public String getReservedField5() {
        return this.reservedField5;
    }
    
    public void setReservedField5(String reservedField5) {
        this.reservedField5 = reservedField5;
    }
    
    public String getReservedField6() {
        return this.reservedField6;
    }
    
    public void setReservedField6(String reservedField6) {
        this.reservedField6 = reservedField6;
    }
    
    public String getReservedField7() {
        return this.reservedField7;
    }
    
    public void setReservedField7(String reservedField7) {
        this.reservedField7 = reservedField7;
    }
    
    public String getReservedField8() {
        return this.reservedField8;
    }
    
    public void setReservedField8(String reservedField8) {
        this.reservedField8 = reservedField8;
    }
    
    public String getLineName() {
        return lineName;
    }
    
    public void setLineName(String lineName) {
        this.lineName = lineName;
    }
    
    public String getOrganName() {
        return organName;
    }
    
    public void setOrganName(String organName) {
        this.organName = organName;
    }
    
    public String getEltMhyNo() {
        return eltMhyNo;
    }
    
    public void setEltMhyNo(String eltMhyNo) {
        this.eltMhyNo = eltMhyNo;
    }

    public BigDecimal getIvteTept() {
        return ivteTept;
    }

    public void setIvteTept(BigDecimal ivteTept) {
        this.ivteTept = ivteTept;
    }

    public String getHybridReadySt() {
        return hybridReadySt;
    }

    public void setHybridReadySt(String hybridReadySt) {
        this.hybridReadySt = hybridReadySt;
    }

	public BigDecimal getEltMhyCtrlMftCode() {
		return eltMhyCtrlMftCode;
	}

	public void setEltMhyCtrlMftCode(BigDecimal eltMhyCtrlMftCode) {
		this.eltMhyCtrlMftCode = eltMhyCtrlMftCode;
	}

    public BigDecimal getGpsSpdOfMotVhi() {
        return gpsSpdOfMotVhi;
    }

    public void setGpsSpdOfMotVhi(BigDecimal gpsSpdOfMotVhi) {
        this.gpsSpdOfMotVhi = gpsSpdOfMotVhi;
    }

	public BigDecimal getEltMhyDcVtg() {
		return eltMhyDcVtg;
	}

	public void setEltMhyDcVtg(BigDecimal eltMhyDcVtg) {
		this.eltMhyDcVtg = eltMhyDcVtg;
	}

	public BigDecimal getEltMhyEltCrt() {
		return eltMhyEltCrt;
	}

	public void setEltMhyEltCrt(BigDecimal eltMhyEltCrt) {
		this.eltMhyEltCrt = eltMhyEltCrt;
	}

	public BigDecimal getEltMhyVtg() {
		return eltMhyVtg;
	}

	public void setEltMhyVtg(BigDecimal eltMhyVtg) {
		this.eltMhyVtg = eltMhyVtg;
	}

    
}
